﻿using System;

using SBPweb.Forge.Contracts.Events;

namespace SBPweb.Communication.Shared.Library.Contacts
{

    public class ContactPresenceStateBaseCancelEventArgs : ContactPresenceStateBaseEventArgs
    {

        #region Constructor logic

        public ContactPresenceStateBaseCancelEventArgs(ContactBase contact, ContactPresenceStateBase state)
            : base(contact, state)
        {
            this.State = state;
        }

        public ContactPresenceStateBaseCancelEventArgs(ContactBase contact, ContactPresenceStateBase state, bool cancel)
            : base(contact, state)
        {
            this.State = state;
            this.Cancel = cancel;
        }

        #endregion

        #region Property accessors

        public ContactPresenceStateBase State
        {
            get;
            set;
        }

        public bool Cancel
        {
            get;
            set;
        }

        #endregion

    }

}